package com.xinli.business.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xinli.business.domain.TOrderPj;
import org.apache.ibatis.annotations.Mapper;

/**
 * 订单评价Mapper接口
 *
 * @author ruoyi
 * @date 2025-03-25
 */
@Mapper
public interface TOrderPjMapper  extends BaseMapper<TOrderPj>
{
    /**
     * 查询订单评价
     *
     * @param id 订单评价主键
     * @return 订单评价
     */
    public TOrderPj selectTOrderPjById(String id);

    /**
     * 查询订单评价列表
     *
     * @param tOrderPj 订单评价
     * @return 订单评价集合
     */
    public List<TOrderPj> selectTOrderPjList(TOrderPj tOrderPj);

    /**
     * 新增订单评价
     *
     * @param tOrderPj 订单评价
     * @return 结果
     */
    public int insertTOrderPj(TOrderPj tOrderPj);

    /**
     * 修改订单评价
     *
     * @param tOrderPj 订单评价
     * @return 结果
     */
    public int updateTOrderPj(TOrderPj tOrderPj);

    /**
     * 删除订单评价
     *
     * @param id 订单评价主键
     * @return 结果
     */
    public int deleteTOrderPjById(String id);

    /**
     * 批量删除订单评价
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTOrderPjByIds(String[] ids);
}
